package br.org.bhs.jump;

import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;

/**
 * @author BitHut Studio
 */

public class MidletTeste extends MIDlet
{
    private Display display;
    private static MidletTeste instance = null;

    public MidletTeste()
    {
        instance = this;
    }

    public static MidletTeste getInstance()
    {
        return instance;
    }

    public void startApp() 
    {
        display = Display.getDisplay(this);
        TesteDesenho testeDesenho = new TesteDesenho();
        display.setCurrent(testeDesenho);
        testeDesenho.iniciar();
    }

    public void pauseApp()
    {
    }

    public void destroyApp(boolean unconditional)
    {
    }
}
